<?php
/**
* Copyright 2009 Waag Society <http://www.waag.org>
* This file is part of Annotrax.
*
* Annotrax is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* Annotrax is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Annotrax.
* If not, see http://www.gnu.org/licenses/gpl.html
*/

?>
<?php
// /movie/edit
/*
$this->headLink()->appendStylesheet('/css/yui/fonts-min.css');
$this->headLink()->appendStylesheet('/css/yui/simpleeditor.css');

$this->headScript()->appendFile('/js/yui/yahoo-dom-event.js' );
$this->headScript()->appendFile('/js/yui/element-min.js' );
$this->headScript()->appendFile('/js/yui/container_core-min.js' );
$this->headScript()->appendFile('/js/yui/simpleeditor-min.js' );
*/
?>
<h1><?php echo $this->translate("Edit page") ?> <em>"<?php echo $this->page->title ?>"</em></h1>
<p>
	<?php echo $this->translate("Changes will be immediately visible!") ?>
</p>
<?php echo $this->form ?>
<script>
/*
(function() {
    var Dom = YAHOO.util.Dom,
        Event = YAHOO.util.Event;

    var myConfig = {
        height: '300px',
        width: '600px',
        dompath: true,
        focusAtStart: true
    };

    YAHOO.log('Create the Editor..', 'info', 'example');
    var myEditor = new YAHOO.widget.SimpleEditor('content', myConfig);
    myEditor.render();

})();
*/
</script>
